//
//  ScanViewController.h
//  TaoOne
//
//  Created by 王里 on 11-7-28.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "ZBarSDK.h"
@interface ZbarScanViewController : UIViewController <ZBarReaderDelegate>{
    ZBarReaderViewController *reader;
    
    UIButton* flashlightButton;
    AVCaptureSession* AVSession;
    BOOL flashlightOn;
    NSInteger p_LightIsOn;
}
-(void) startScan;
@end
